home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tools
/
skoed
/
arexx
/
testrexx.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-03-09
|
635b
|
36 lines
/* TestRexx.rexx */
/*
This shows simple calls to SkoEd
with SkoEd running, RX TestRexx.rexx
*/
Options FailAt 10
Options results
say 'About to Start'
Address COMMAND 'wait' sec 1
Address SKOED1 "Set_Var(LINK Hello)"
if rc > 0 then
say 'Error' rc
else
say 'No Error'
Address SKOED1 "Set_Var(AUTOTIME 5)"
if rc > 0 then
say 'Error' rc
else
say 'No Error'
Address SKOED1 "Set_Var(INDENT FALSE)"
if rc > 0 then
say 'Error'
else
say 'No Error'
say 'About to Get_File ...'
Address SkoEd1 "Get_File(Misc.def) Goto_Line(10) Msg(Error - Hello)"
if rc > 0 then
say 'Error'
else
say 'Get Done' RESULT